package dao;

import java.util.List;

import entity.Easybuy_product_category;
import utils.PageUtils;

public interface EasyBuyProductCategoryDao {
	
	List<Easybuy_product_category> list();
	
	PageUtils<Easybuy_product_category> findlist(int currindex,int pagesize);
	
	List<Easybuy_product_category> findId(int parendId);

	int saveOrUpdate(String name,int parentId,int type);
	
	Easybuy_product_category finById(int id);
	
	List<Easybuy_product_category> findType(int type);

	int update(Easybuy_product_category cat);
	
	int deleteProductCategory(int id);
}
